package com.yyn.action;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class CommonAction {

    /**
     * 页面跳转的公共方法
     *
     * @param pg 跳转的目标页面路径
     * @return 跳转视图名
     */
    @RequestMapping("/jump")
    public String jump(String pg) {
        return pg;
    }
}